﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace YdWorkFlow.Core.Model.Activity
{
    /// <summary>
    /// 流程按钮
    /// </summary>
    public class AcButton
    {
        /// <summary>
        /// 按钮ID(为guid则是按钮库中的按钮，否则为其它特定功能按钮)
        /// </summary>
        public string ID { get; set; }
        /// <summary>
        /// 按钮说明
        /// </summary>
        public string Note { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int Sort { get; set; }

        /// <summary>
        /// 步骤允许的人员和角色及权限
        /// </summary>
        public IList<ActorDefinitionForButton> Actors { get; set; }
    }
}
